package com.monitor.app_monitor.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PmEmsInfo {

    private String status;

    private String description;

    private List<PmScriptExecResult> data;

    public static PmEmsInfo errorResult(){
        return new PmEmsInfo("error", "执行异常", null);
    }


}
